<!doctype html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>菠萝驾校管理系统</title>
    <meta name="description" content="Ela Admin - HTML5 Admin Template">
    <meta name="viewport" content="width=device-width, initial-scale=1">


    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.0/normalize.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lykmapipo/themify-icons@0.1.2/css/themify-icons.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pixeden-stroke-7-icon@1.2.3/pe-icon-7-stroke/dist/pe-icon-7-stroke.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.0/css/flag-icon.min.css">
    <link rel="stylesheet" href="assets/css/cs-skin-elastic.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/html5shiv/3.7.3/html5shiv.min.js"></script> -->
    <link href="https://cdn.jsdelivr.net/npm/chartist@0.11.0/dist/chartist.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/jqvmap@1.5.1/dist/jqvmap.min.css" rel="stylesheet">

    <link href="https://cdn.jsdelivr.net/npm/weathericons@2.1.0/css/weather-icons.css" rel="stylesheet" />
    <link href="https://cdn.jsdelivr.net/npm/fullcalendar@3.9.0/dist/fullcalendar.min.css" rel="stylesheet" />

   <style>
    #weatherWidget .currentDesc {
        color: #ffffff!important;
    }
        .traffic-chart {
            min-height: 335px;
        }
        #flotPie1  {
            height: 150px;
        }
        #flotPie1 td {
            padding:3px;
        }
        #flotPie1 table {
            top: 20px!important;
            right: -10px!important;
        }
        .chart-container {
            display: table;
            min-width: 270px ;
            text-align: left;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        #flotLine5  {
             height: 105px;
        }

        #flotBarChart {
            height: 150px;
        }
        #cellPaiChart{
            height: 160px;
        }

    </style>
</head>

<body>
    <!-- Left Panel -->
    <aside id="left-panel" class="left-panel">
        <nav class="navbar navbar-expand-sm navbar-default">
            <div id="main-menu" class="main-menu collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li class="menu-item-has-children dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-users"></i>学员信息</a>
                        <ul class="sub-menu children dropdown-menu">                            
                        <li><i class="fa fa-plus"></i><a href="add-student.html">添加学员</a></li>
                            <li><i class="fa fa-id-badge"></i><a href="select-student.html">查看学员</a></li>

                        </ul>
                    </li>
                    <li class="menu-item-has-children dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-car"></i>车辆信息</a>
                        <ul class="sub-menu children dropdown-menu">
                        <li><i class="fa  fa-tachometer"></i><a href="add-car.html">新增车辆</a></li>
                        <li><i class="fa fa-table"></i><a href="select-car.html">车辆管理</a></li>
                          </ul>
                    </li>
                    <li class="menu-item-has-children dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="menu-icon fa fa-book"></i>教练信息</a>
                        <ul class="sub-menu children dropdown-menu">
                            <li><i class="menu-icon fa fa-plus"></i><a href="add-teacher.html">添加教练</a></li>
                            <li><i class="menu-icon fa fa-trash-o"></i><a href="select-teacher.html">教练信息</a></li>
                        </ul>
                    </li>

                  
            
                </ul>
            </div><!-- /.navbar-collapse -->
        </nav>
    </aside>
    <!-- /#left-panel -->
    <!-- Right Panel -->
    <div id="right-panel" class="right-panel">
        <!-- Header-->
        <header id="header" class="header">
            <div class="top-left">
                <div class="navbar-header">
                    <a class="navbar-brand" href="./">菠萝驾校后台管理系统</a>
                    <a class="navbar-brand hidden" href="./"><img src="images/logo2.png" alt="Logo"></a>
                    <a id="menuToggle" class="menutoggle"><i class="fa fa-bars"></i></a>
                </div>
            </div>
              <div class="top-right">
                <div class="header-menu">
                    <div class="header-left" id="login" style="margin-top:10px;">
                    
                        </div>

                   
                </div>
            </div>
        </header>
        <!-- /#header -->
        <!-- Content -->
        <div class="content">
            <div class="col-lg-10" style="margin:0 auto">
                        <div class="card" style="margin:0;">
                            <div class="card-header"><strong>添加教练</strong></div>
                            <div class="card-body card-block">
                                <div class="form-group"><label for="name" class=" form-control-label">姓名</label><input type="text" id="name" name="name" placeholder="请输入教练姓名" class="form-control"></div>
                                <div class="form-group"><label for="id" class=" form-control-label">身份证号</label><input type="text" id="id" name="id" placeholder="请输入教练身份证号" class="form-control"></div>
                                <div class="form-group"><label for="phone" class=" form-control-label">手机号</label><input type="text" id="phone" name="phone" placeholder="请输入教练手机号" class="form-control"></div>
                                                             <div class="row form-group">
                                    <div class="col-4">
                                        <div class="form-group"><label for="age" class=" form-control-label">年龄</label><input type="text" id="age" name="age" placeholder="请输入教练年龄" class="form-control"></div>
                                    </div>
                                    <div class="col-2">
                                        <div class="form-group"><label for="gender" class=" form-control-label">性别</label>
                                        	<div class="col col-md-9">
                                            <div class="form-check-inline form-check">
                                                    <input type="radio" id="inline-radio1" name="gender" value="男" class="form-check-input">男&nbsp
                                                    <input type="radio" id="inline-radio2" name="gender"" value="女" class="form-check-input">女
                                            </div>
                                        </div>
                                        </div>
                                    </div>
                                </div>
                                                <button id="payment-button"  type="submit" class="btn btn-lg btn-info btn-block">
                                                    <i class="fa fa-check fa-lg"></i>&nbsp;
                                                    <span id="payment-button-amount">提交</span>
                                                </button>
                                            </div>
                            </div>
                        </div>
                   
        </div>
        <!-- /.content -->
        <div class="clearfix"></div>
        <!-- Footer -->
       
        <!-- /.site-footer -->
    </div>
    <!-- /#right-panel -->

     <!-- Scripts -->
    <script src="js/jquery.min.js"></script>
    <script src="js/popper.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.matchHeight.min.js"></script>
    <script src="assets/js/main.js"></script>
	
    <script src="assets/js/init/fullcalendar-init.js"></script>
    <script type="text/javascript" src="js/jquery.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="js/teacher_regist.js" charset="utf-8"></script>
<script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="js/cookie.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
    <script type="text/javascript">
    $(function() {
            var userInfo = $.cookie('login_cookie');
            if (userInfo != null && userInfo != "") {
    			var name = userInfo.split("%")[1];
    			$(".header-left").html(
    					"欢迎，"+name+"&nbsp;&nbsp;&nbsp;<a href='javascript:void(0)' class='link-logout' onclick='logout()'>[退出]</a>"		
    			);
    		} else {
    			window.location.href = ("login.html");
    		}
           
        })
        function logout() {
		$.ajax({
			url : "user/logout",
			type : "post",
			dateType : "json",
			success : function(data) {
				window.location.reload();
			},
			error : function(e) {
				alert("请求失败！");
			}
		})
    }
    </script>
</body>
</html>
